package com.example.demo40multifilterchain.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/foo/hello")
    public String fooHello(){
        return "foo hello";
    }
    @GetMapping("/bar/hello")
    public String barHello(){
        return "bar hello";
    }

}
